<template>
	<uni-popup ref="stepPopup" type="center">
		<view class="box">
			<video class="videobox"
			:src="src"
			:controls='true'
			:enable-play-gesture='true'
			></video>
		</view>
	</uni-popup>
</template>

<script>
	export default{
		name:'diyVideo',
		props:{
			src:{
				type:String,
				default:''
			}
		},
		data(){
			return {}
		},
		methods:{
			open(){
				this.$refs.stepPopup.open();
			},
			close(){
				this.$refs.stepPopup.close();
			}
		}
	}
</script>

<style lang="scss" scoped>
	.box{
		background: #ffffff;
		.videobox{
		}
	}

</style>